<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <title>商城管理-azhuo商城</title>
    <meta name="renderer" content="webkit|ie-comp|ie-stand">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta http-equiv="Cache-Control" content="no-siteapp" />

    <link rel="shortcut icon" href="${pageContext.request.contextPath }/image/logo/xyz.ico" type="image/x-icon" />
    <link rel="stylesheet" href="${pageContext.request.contextPath }/css/font.css">
    <link rel="stylesheet" href="${pageContext.request.contextPath }/css/xadmin.css">
    <link rel="stylesheet" href="${pageContext.request.contextPath }/css/style.css" />
    <link rel="stylesheet" href="${pageContext.request.contextPath }/css/style.css" />

    <script type="text/javascript" src="${pageContext.request.contextPath }/js/jquery.min.js"></script>
    <script src="${pageContext.request.contextPath }/lib/layui/layui.js" charset="utf-8"></script>
    <script type="text/javascript" src="${pageContext.request.contextPath }/js/xadmin.js"></script>

</head>

<body style="height: 500px;">
    <!-- 顶部开始 -->
    <div class="container" style="background: #AAA;">
        <div class="logo">
        	<a href="${pageContext.request.contextPath }/adminjsps/index.jsp">
				<img style="width: 120px;" alt="logo" src="${pageContext.request.contextPath }/image/logo/logo.jpg"/>			
			</a>
        </div>
        <div class="left_open">
            <i title="展开左侧栏" class="iconfont">&#xe699;</i>
        </div>
        <ul class="layui-nav left fast-add" lay-filter="">
            <li class="layui-nav-item">
                <a href="javascript:;">友情链接</a>
                <dl class="layui-nav-child">
                    <!-- 二级菜单 -->
                    <dd><a onclick="x_admin_show('某宝','https://www.taobao.com')"><i class="iconfont">&#xe6a2;</i>某宝</a>
                    </dd>
                    <dd><a onclick="x_admin_show('东东','https://www.jd.com/')"><i class="iconfont">&#xe6a2;</i>东东</a>
                    </dd>
                </dl>
            </li>
        </ul>
        <ul class="layui-nav right" lay-filter="">
            <li class="layui-nav-item">
                <a href="javascript:;">${admin_user.username}</a>
                <dl class="layui-nav-child">
                    <!-- 二级菜单 -->
                    <dd><a onclick="x_admin_show('个人信息','http://www.baidu.com')">个人信息</a></dd>
                    <dd><a onclick="x_admin_show('切换帐号','${pageContext.request.contextPath }/admin/AdminUserServlet?method=quit')">切换帐号</a></dd>
                    <dd><a href="${pageContext.request.contextPath }/admin/AdminUserServlet?method=quit">退出</a></dd>
                </dl>
            </li>
            <li class="layui-nav-item to-index"><a href="${pageContext.request.contextPath }" target="_blank">去azhuo商城</a></li>
        </ul>

    </div>
    <!-- 顶部结束 -->
    <!-- 中部开始 -->
    <!-- 左侧菜单开始 -->
    <div class="left-nav" style="background: #DDD;">
        <div id="side-nav">
            <ul id="nav">
                <li>
                    <a href="javascript:;">
                        <i class="iconfont">&#xe723;</i>
                        <cite>订单管理</cite>
                        <i class="iconfont nav_right">&#xe697;</i>
                    </a>
                    <ul class="sub-menu">
                        <li>
                            <a _href="${pageContext.request.contextPath }/admin/AdminOrderServlet?method=findAllOrder">
                                <i class="iconfont">&#xe6a7;</i>
                                <cite>订单列表</cite>
                            </a>
                        </li>
                    </ul>
                </li>
                <li>
                    <a href="javascript:;">
                        <i class="iconfont">&#xe723;</i>
                        <cite>分类管理</cite>
                        <i class="iconfont nav_right">&#xe697;</i>
                    </a>
                    <ul class="sub-menu">
                        <li>
                            <a _href="${pageContext.request.contextPath}/admin/AdminCategoryServlet?method=findAllCategory">
                                <i class="iconfont">&#xe6a7;</i>
                                <cite>查看分类</cite>
                            </a>
                        </li>
                    </ul>
                </li>
                <li>
                    <a href="javascript:;">
                        <i class="iconfont">&#xe723;</i>
                        <cite>商品管理</cite>
                        <i class="iconfont nav_right">&#xe697;</i>
                    </a>
                    <ul class="sub-menu">
                        <li>
                            <a _href="${pageContext.request.contextPath }/admin/AdminGoodsServlet?method=findAllGoods">
                                <i class="iconfont">&#xe6a7;</i>
                                <cite>查看商品</cite>
                            </a>
                        </li>
                        <li>
                            <a _href="${pageContext.request.contextPath }/adminjsps/goods/addGoods.jsp">
                                <i class="iconfont">&#xe6a7;</i>
                                <cite>添加商品</cite>
                            </a>
                        </li>
                    </ul>
                </li>
                <li>
                    <a href="javascript:;">
                        <i class="iconfont">&#xe726;</i>
                        <cite>人员管理</cite>
                        <i class="iconfont nav_right">&#xe66f;</i>
                    </a>
                    <ul class="sub-menu">
                        <li>
                            <a _href="${pageContext.request.contextPath }/admin/AdminUserServlet?method=findAll">
                                <i class="iconfont">&#xe6a7;</i>
                                <cite>查看客户</cite>
                            </a>
                        </li>
                        <li>
                            <a _href="${pageContext.request.contextPath }/admin/AdminUserServlet?method=findAllAdmin">
                                <i class="iconfont">&#xe6a7;</i>
                                <cite>查看管理员</cite>
                            </a>
                        </li>
                    </ul>
                </li>
                <li>
                    <a href="javascript:;">
                        <i class="iconfont">&#xe6ce;</i>
                        <cite>统计管理</cite>
                        <i class="iconfont nav_right">&#xe697;</i>
                    </a>
                    <ul class="sub-menu">
                        <li>
                            <a _href="${pageContext.request.contextPath }/admin/AdminOrderServlet?method=statisticsOrder">
                                <i class="iconfont">&#xe6a7;</i>
                                <cite>订单统计</cite>
                            </a>
                        </li>
                        <li>
                            <a _href="${pageContext.request.contextPath }/admin/AdminGoodsServlet?method=sellingOrderSortGoods">
                                <i class="iconfont">&#xe6a7;</i>
                                <cite>商品销售排行</cite>
                            </a>
                        </li>
                    </ul>
                </li>
            </ul>
        </div>
    </div>
    <!-- 左侧菜单结束 -->
    
    <!-- 右侧主体开始 -->
    <div class="page-content">
        <div class="layui-tab tab" lay-filter="xbs_tab" lay-allowclose="false">
            <ul class="layui-tab-title">
                <li class="home"><i class="layui-icon">&#xe68e;</i>我的桌面</li>
            </ul>
            <div class="layui-tab-content">
                <div class="layui-tab-item layui-show">
                    <iframe src="${pageContext.request.contextPath}/adminjsps/welcome.jsp" frameborder="0" scrolling="yes" class="x-iframe"></iframe>
                </div>
            </div>
        </div>
    </div>
    <div class="page-content-bg"></div>
    <!-- 右侧主体结束 -->
    <!-- 中部结束 -->
    <!-- 底部开始 -->
    <div class="footer" style="background: #DDD; height: 42px">
        <footer style="width: 100%;margin: 0px;padding: 0px;color: #000">
			<div>azhuo版权所有&copy;</div>
		</footer>
    </div>
    <!-- 底部结束 -->
</body>

</html>